<?php
$locations = $GLOBALS[RC]->getLocation()->toArray();
echo implode(' &gt; ', $locations);